using LiJ.Common.Core;

namespace LiJ.Pay.Ali
{
	/// <summary>
	/// 支付宝支付的相关配置
	/// </summary>
	public static class ZPayConfigProvider
	{
		/// <summary>
		///  模块名称
		/// </summary>
		public static string ModuleName
		{
			get;
			set;
		} = "pay_center";


		/// <summary>
		///  默认的Key配置信息
		/// </summary>
		public static ZPayConfig DefaultConfig
		{
			get;
			set;
		}

		/// <summary>
		/// 设置上下文配置信息
		/// </summary>
		/// <param name="config"></param>
		public static void SetContextConfig(ZPayConfig config)
		{
			BaseConfigProvider<ZPayConfig, ZPayBaseApi>.SetContextConfig(config);
		}
	}
}
